Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed#8921
Closed
renovate[bot] wants to merge 1 commit into
Closed
Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed#8921renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
✅ Deploy Preview for kongdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
88943fc to
53c389f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR contains the following updates:
0.17.16→0.26.9Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Ruby LSP has arbitrary code execution through branch setting
CVE-2026-34060 / GHSA-c4r5-fxqw-vh93
More information
Details
Summary
The
rubyLsp.branchVS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing arbitrary Ruby code execution when a user opens a project containing a malicious.vscode/settings.json.Other editors that support workspace setting that get automatically applied upon opening the editor and trusting the workspace are also impacted since the server is the component that performs the interpolation.
Details
The
branchCLI argument passed to theruby-lspserver was interpolated in the generated.ruby-lsp/Gemfilewithout sanitization. Editors that allow defining settings saved at the workspace level (e.g.:.vscode/settings.json) that gets automatically applied open the possibility to craft a malicious repository that once opened and trusted in the editor would run arbitrary code.Impact
Code execution with the privileges of the user who opens the malicious project. Ruby LSP assumes workspace code is trusted and so opening the editor on an untrusted workspace can lead to executing potentially dangerous code.
Remediation
The
rubyLsp.branchsetting has been removed entirely. VS Code extensions auto-update by default, so most users will receive the fix without action. Users who have disabled auto-updates should update to extension version >= 0.10.2.The
branchCLI flag was also entirely removed from theruby-lspgem. For users that don't addruby-lspto their Gemfiles, the server should auto-update. Users with theruby-lspin the Gemfile and locked to a specific version should update to >= 0.26.9.Severity
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
Shopify/ruby-lsp (ruby-lsp)
v0.26.9v0.26.9
🐛 Bug Fixes
defaultLibrarymodifier casing (#4005) by @a-lavisv0.26.8v0.26.8
🐛 Bug Fixes
ruby-lspversion constraint in composed bundle (#3985) by @st0012📦 Other Changes
v0.26.7v0.26.7
🐛 Bug Fixes
needs_updatefile is deleted by concurrent process (#3964) by @vinistock📦 Other Changes
v0.26.6v0.26.6
🐛 Bug Fixes
📦 Other Changes
v0.26.5v0.26.5
✨ Enhancements
URI::Sourcewith Tapioca (#3891) by @amomchilov🐛 Bug Fixes
📦 Other Changes
v0.26.4v0.26.4
🐛 Bug Fixes
v0.26.3v0.26.3
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
v0.26.2v0.26.2
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
Bundler::Fetcher::NetworkDownErrorduring Bundler setup (#3697) by @egiurleoBundler::HTTPErrors during bundle install (#3699) by @egiurleov0.26.1v0.26.1
🐛 Bug Fixes
📦 Other Changes
v0.26.0v0.26.0
🚧 Breaking Changes
🐛 Bug Fixes
📦 Other Changes
v0.25.0v0.25.0
🚧 Breaking Changes
✨ Enhancements
📦 Other Changes
v0.24.2v0.24.2
✨ Enhancements
🐛 Bug Fixes
v0.24.1v0.24.1
🐛 Bug Fixes
collect_referencesto usePrism::LexResult(#3590) by @st0012v0.24.0v0.24.0
🚧 Breaking Changes
parse_lexinstead ofparsefor Ruby and ERB documents (#3252) by @vinistock🐛 Bug Fixes
trueargument for writer (#3579) by @vinistockv0.23.24v0.23.24
✨ Enhancements
🐛 Bug Fixes
attr(#3544) by @vinistock📦 Other Changes
v0.23.23v0.23.23
✨ Enhancements
🐛 Bug Fixes
v0.23.22v0.23.22
🐛 Bug Fixes
📦 Other Changes
v0.23.21v0.23.21
🐛 Bug Fixes
specto load path when running Minitest specs (#3500) by @vinistock📦 Other Changes
v0.23.20v0.23.20
🐛 Bug Fixes
v0.23.19v0.23.19
🐛 Bug Fixes
extend T::Genericfor add-on API classes (#3482) by @vinistockv0.23.18v0.23.18
🐛 Bug Fixes
📦 Other Changes
cgiwhat is required (#3469) by @Earlopaincgichanges (#3473) by @Earlopainv0.23.17v0.23.17
✨ Enhancements
🐛 Bug Fixes
finishevent is emitted on test crashes (#3445) by @vinistock📦 Other Changes
v0.23.16v0.23.16
🐛 Bug Fixes
$characters for test command regexes (#3427) by @vinistock📦 Other Changes
v0.23.15v0.23.15
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
v0.23.14v0.23.13v0.23.13
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
framework:(#3340) by @vinistockv0.23.12v0.23.12
✨ Enhancements
specifyin Code Lens (#3228) by @andyw8test-unitreporter (#3238) by @andyw8🐛 Bug Fixes
📦 Other Changes
v0.23.11v0.23.11
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
v0.23.10v0.23.10
🐛 Bug Fixes
📦 Other Changes
v0.23.9v0.23.9
✨ Enhancements
🐛 Bug Fixes
v0.23.8v0.23.8
🐛 Bug Fixes
v0.23.7v0.23.7
✨ Enhancements
🐛 Bug Fixes
v0.23.6v0.23.6
✨ Enhancements
🐛 Bug Fixes
GUESSED_TYPES_URL(#3068) by @csjhv0.23.5v0.23.5
🐛 Bug Fixes
v0.23.4v0.23.4
🐛 Bug Fixes
v0.23.3v0.23.3
🐛 Bug Fixes
v0.23.2v0.23.2
✨ Enhancements
🐛 Bug Fixes
nilfor cancelled requests (#3024) by @vinistockv0.23.1v0.23.1
🐛 Bug Fixes
v0.23.0v0.23.0
🚧 Breaking Changes
✨ Enhancements
🐛 Bug Fixes
📦 Other Changes
v0.22.1v0.22.1
✨ Enhancements
private_class_methodin the indexer (#2858) by @kcdragon🐛 Bug Fixes
📦 Other Changes
fieldinstead ofvariablefor instance variable symbol kinds (#2898) by @vinistockv0.22.0v0.22.0
🚧 Breaking Changes
✨ Enhancements
index_all) from being called multiple times (#2864) by @andyw8extend selftohandle_module_operation(#2855) by @tlemburg🐛 Bug Fixes
📦 Other Changes
v0.21.3v0.21.3
✨ Enhancements
v0.21.2v0.21.2
✨ Enhancements
supports_progressto global state (#2815) by @vinistock🐛 Bug Fixes
📦 Other Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.